package com.liqi.frame.comm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liqi
 * @since 2020/9/11 11:20
 */
@Component
@ConfigurationProperties(prefix = "app.rabbitmq")
@Data
public class RabbitMQProperties {
    private String enable;
    private String host;
    private String port;
    private String username;
    private String password;
    private String virtualHost;
    private String exchangeName;
}
